﻿package {

	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import flash.ui.*;

	
	public class index extends MovieClip {

		public function index() {
			// constructor code
			page1.addEventListener(MouseEvent.CLICK,clicking1);
			page2.addEventListener(MouseEvent.CLICK, clicking2);
			page3.addEventListener(MouseEvent.CLICK, clicking3);
			page21.addEventListener(MouseEvent.CLICK,clicking1);
			page22.addEventListener(MouseEvent.CLICK, clicking2);
			page23.addEventListener(MouseEvent.CLICK, clicking3);
			page31.addEventListener(MouseEvent.CLICK,clicking1);
			page32.addEventListener(MouseEvent.CLICK, clicking2);
			page33.addEventListener(MouseEvent.CLICK, clicking3);
		}
		
		public function clicking1(event:MouseEvent) {
			gotoAndPlay(1);
		}
				
		public function clicking2(event:MouseEvent) {
			gotoAndPlay(130);
		}
				
		public function clicking3(event:MouseEvent) {
			gotoAndPlay(260);
		}

		
	}
}